﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>

<%
    
    Cs2102BookingSystem.Models.UserModel user = (Cs2102BookingSystem.Models.UserModel)HttpContext.Current.Session["User"];
    if (user != null && user.Email != "Admin" && user.Email != "")
    {
%>
<li><%: Html.ActionLink("Past History", "History", "Booking")%></li>

<%
    }
    else {
%> 
<li><%: Html.ActionLink("About", "About", "Home")%></li>
<%
    }
%>